﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Linq;

using ProjectBase.Core;

namespace Survey.Entity
{
    /// <summary>
    /// Searching filters for Question.
    /// Contains properties (filled for instance on SearchView)
    /// which are evaluated as filter Criteria in Dao's GetBySearch()
    /// </summary>
    [Serializable]
    public class QuestionFilter : BaseFilter<int>
    {
        public virtual string TitleExact { get; set; } // exact match

        public virtual string Title { get; set; } // like expression

        public virtual string DescriptionExact { get; set; } // exact match

        public virtual string Description { get; set; }

        public virtual bool? IsApproved { get; set; }


        public virtual DateTime? ValidUntil { get; set; }
        public virtual DateTime? ValidUntilFrom { get; set; }
        public virtual DateTime? ValidUntilTo { get; set; }

        public virtual string AnswerTitle { get; set; }

        public virtual string AnswerDescription { get; set; }
    }
}